angular.module('App').config(['$stateProvider', '$urlRouterProvider',
    function($stateProvider, $urlRouterProvider) {
        $stateProvider.
            //App管理
            state('index.AppList', {
                url: '/App/List',
                templateUrl: 'modules/App/client/views/AppList.client.view.html',
                controller:'AppListController',
                access: { requiredAuthentication: true }
            }).
            //补丁管理
            state('index.PatchUpdate', {
                url: '/PatchUpdate/Edit',
                templateUrl: 'modules/App/client/views/PatchUpdate.client.view.html',
                controller:'PatchUpdateController',
                access: { requiredAuthentication: true }
            }).
            //安装管理
            state('index.InstallManage', {
                url: '/InstallManage/Edit',
                templateUrl: 'modules/App/client/views/InstallManage.client.view.html',
                controller:'InstallManageController',
                access: { requiredAuthentication: true }
            }).
            //加密授权
            state('index.SecretManage', {
                url: '/SecretManage/Edit',
                templateUrl: 'modules/App/client/views/SecretManage.client.view.html',
                controller:'SecretManageController',
                access: { requiredAuthentication: true }
            }).
            //共享下载页面
            state('DownloadFile', {
                url: '/shared/DownloadFile',
                templateUrl: 'modules/App/client/views/DownloadFile.client.view.html',
                controller:'DownloadFileController'
            });
    }
]);
